<template>
    <div>
        <panel header="活动列表" :footer="footer" :list="list" :type="type"></panel>
    </div>
</template>

<script>
    import {Panel, Group, Radio} from 'vux'

    export default {
        components: {
            Panel,
            Group,
            Radio
        },
        created(){
            var that = this;
            Axios.post('/api/items',[]).then(function (res) {
                that.list = res.data
            });
        },
        data () {
            return {
                type: '5',
                list: []
            }
        }
    }
</script>